<form class="layui-form model-form" action="" style="width: 70%;">
	<input name="id" id="id" type="hidden" value="{$info.id|default=0}">
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">通知标题：</label>
			<div class="layui-input-inline">
				<input name="title" value="{$info.title|default=''}" lay-verify="required" autocomplete="off" placeholder="请输入通知标题" class="layui-input" type="text">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">通知来源：</label>
			<div class="layui-input-inline">
				{:widget('common/select',array('source|0|通知来源|name|id',config('admin.notice_source'),isset($info['source']) ? $info['source'] : 1))}
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">是否置顶：</label>
			<div class="layui-input-inline">
				{:widget('common/switchCheck',array('is_top','已置顶|未置顶',isset($info['is_top']) ? $info['is_top'] : 2))}
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">阅读量：</label>
			<div class="layui-input-inline">
				<input name="view_num" value="{$info.view_num|default=''}" lay-verify="required|number" autocomplete="off" placeholder="请输入阅读量" class="layui-input" type="text">
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">发布状态：</label>
			<div class="layui-input-inline">
				{:widget('common/select',array('status|1|发布状态|name|id',config('admin.notice_status'),isset($info['status']) ? $info['status'] : 3))}
			</div>
		</div>
		<div class="layui-inline layui-hide publishTime">
			<label class="layui-form-label">发布时间：</label>
			<div class="layui-input-inline">
				{:widget('date/select',array('publish_time|出生日期|datetime',isset($info['publish_time']) ? date('Y-m-d H:i:s',$info['publish_time']) : ''))}
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">通知内容：</label>
		<div class="layui-input-block">
			<textarea name="content" lay-verify="required" class="layui-textarea">{$info.content|default=''}</textarea>
			{:widget('editor/kindeditor',array('default','content','100%',300))}
		</div>
	</div>
	{:widget('common/submit',array('submit|立即保存,close|关闭'))}
</form>